package com.ruoyi.productspecifications.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品规格对象 productspecifications
 * 
 * @author ruoyi
 * @date 2024-06-30
 */
public class Productspecifications extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 规格id */
    private Long specId;

    /** 商店id */
    @Excel(name = "商店id")
    private Long storeId;

    /** 商品id */
    @Excel(name = "商品id")
    private Long productId;

    /** 规格名称 */
    @Excel(name = "规格名称")
    private String specName;

    /** 规格值 */
    @Excel(name = "规格值")
    private String specValue;

    public void setSpecId(Long specId) 
    {
        this.specId = specId;
    }

    public Long getSpecId() 
    {
        return specId;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setSpecName(String specName) 
    {
        this.specName = specName;
    }

    public String getSpecName() 
    {
        return specName;
    }
    public void setSpecValue(String specValue) 
    {
        this.specValue = specValue;
    }

    public String getSpecValue() 
    {
        return specValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("specId", getSpecId())
            .append("storeId", getStoreId())
            .append("productId", getProductId())
            .append("specName", getSpecName())
            .append("specValue", getSpecValue())
            .toString();
    }
}
